package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {

    List<User> listUser();

    User getUserByName(String loginName);

    int saveUser(User user);

    int updateUser(User user);

    void deleteUser(Long userid);
    
}
